package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.TuiguanglogDao;
import com.bootdo.system.domain.TuiguanglogDO;
import com.bootdo.system.service.TuiguanglogService;



@Service
public class TuiguanglogServiceImpl implements TuiguanglogService {
	@Autowired
	private TuiguanglogDao tuiguanglogDao;
	
	@Override
	public TuiguanglogDO get(Long id){
		return tuiguanglogDao.get(id);
	}
	
	@Override
	public List<TuiguanglogDO> list(Map<String, Object> map){
		return tuiguanglogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return tuiguanglogDao.count(map);
	}
	
	@Override
	public int save(TuiguanglogDO tuiguanglog){
		return tuiguanglogDao.save(tuiguanglog);
	}
	
	@Override
	public int update(TuiguanglogDO tuiguanglog){
		return tuiguanglogDao.update(tuiguanglog);
	}
	
	@Override
	public int remove(Long id){
		return tuiguanglogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return tuiguanglogDao.batchRemove(ids);
	}
	
}
